<template>
  <van-nav-bar
    safe-area-inset-top
    :title="title"
    left-arrow
    @click-left="b.back"
    fixed
    placeholder
    z-index="10"
  />
</template>

<script setup>
import useBack from '@/hooks/back';
const b = useBack();

const props = defineProps({
  title: {
    type: String,
    default: ""
  }
})
</script>
